package com.bdqn.ordersystem.pojo;

import java.io.Serializable;

/**
 * 用户类
 *
 */
public class User implements Serializable {
    private Integer id;
    private Integer userType;//用户类型：0超级管理员、1普通用户
    private String userName;//用户名
    private String userCode;//用户登录名
    private String password;//登录密码
    private String telephone;//联系方式

    public User() {
    }

    public User(Integer userType, String userName, String userCode, String password, String telephone) {
        this.userType = userType;
        this.userName = userName;
        this.userCode = userCode;
        this.password = password;
        this.telephone = telephone;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }
}
